package org.jeecg.modules.company.facade.impl;



import org.springframework.stereotype.Service;


import org.jeecg.base.facade.impl.IFacadeImpl;
import org.jeecg.modules.company.entity.ExportOrder;
import org.jeecg.modules.company.facade.IExportOrderFacade;
import org.jeecg.modules.company.service.IExportOrderService;
import org.jeecg.modules.company.vo.ExportOrderVo;
import org.springframework.beans.BeanUtils;

import org.springframework.beans.factory.annotation.Autowired;


/**
 * @Description: 出货单
 * @Author: zj
 * @Date:   2020-05-26
 * @Version: V1.0
 */


@Service
public class ExportOrderFacadeImpl extends IFacadeImpl<ExportOrderVo, ExportOrder, IExportOrderService>  implements IExportOrderFacade<ExportOrderVo, ExportOrder> {
        @Autowired
        private IExportOrderService exportOrderService;


         @Override
         public ExportOrder po2Vo(ExportOrderVo vo) {
                ExportOrder po = new ExportOrder();
                if(vo==null){
                   return null;
                }
                BeanUtils.copyProperties(vo, po);
                return po;
         }

         @Override
         public ExportOrderVo vo2Po(ExportOrder po) {
                ExportOrderVo vo = new ExportOrderVo();
                 if(po==null){
                     return null;
                  }
                BeanUtils.copyProperties(po, vo);
                return vo;
         }

}
